﻿using System.Collections.Generic;
using eCommerce.Core.Domain.Pictures;

namespace eCommerce.Core.Domain.Products
{
    public class ProductVariant : BaseEntity
    {
        public virtual int ProductId { get; set; }
        public virtual Product Product { get; set; }


        public virtual int? ProductAttributeValueId { get; set; }
        public virtual ProductAttributeValue ProductAttributeValue { get; set; }

        public virtual ItemAttributeKey ItemAttributeKey { get; set; }
        public virtual int? ItemAttributeKeyId { get; set; }

        public virtual IList<Item> Items { get; set; }

        public virtual int? PictureId { get; set; }
        public virtual Picture Picture { get; set; }

    }
}